package com.simtop.dao;

import com.simtop.pojo.ExperimentRecord;
import com.simtop.pojo.ExperimentRecords;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;
import java.util.List;

@Mapper
public interface ExperimentRecordDao {

    int insert(ExperimentRecord record);

    List<ExperimentRecord> selectAll();

    int deleteById(Integer id);

    int queryExpNum();

    int selectTotalExpTime();

    int insertDispersionExp(ExperimentRecord record);

    List<ExperimentRecord> selectByExperimentId(List list);

    List<ExperimentRecord> selectByParams(ExperimentRecord record);

    List<ExperimentRecord> findByExperimentName(String experimentName);

    List<ExperimentRecord> findByExpList(List list);

    List<ExperimentRecord> selectByExperimentId1();

    List<ExperimentRecord> findStuByUsername(String username);

    Date findCreateTimeByExperimentId(Integer experimentId);

    List<ExperimentRecords> selectByParams2(ExperimentRecords records);

    List<ExperimentRecords> findStuByUsername2(String username);

    List<ExperimentRecords> selectAll2();

    int deleteById2(Integer id);
}
